-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grpc: accept interface in NewClient functions #1025
Conversation
I can make the v2 equivalent changes for you if you want to avoid the hassle of learning to use Gerrit. Would you like me to do that? |
Thanks for the offer, @dsnet. I already made the changes actually, but got stuck because the
I don't understand where the "v1.2.1" part comes from, since nothing seems to reference grpc@v1.2.1 that I can see. There may be something wrong with our master branch - it was used to release v1.0.x and v1.2.0 directly (these tags are in master), whereas now we release on branches, so maybe now Anyway, our next release is tomorrow so I can wait until then for the protov2 changes, unless you know how to make |
I updated CL: https://go-review.googlesource.com/c/protobuf/+/216399 I don't fully understand why that works, but it does. The version number still seems like a problem with our master branch that I'd like to fix, but this is probably fine for now. EDIT: s/require/replace |
I'm now thinking we should tag our master branch with |
I tagged our commit that set "v1.27.0-dev" in our user agent (right after we cut the v1.26.x branch) with "v1.27.0-pre", and that seems to have done the trick. Unless we hear otherwise, we will do this upon every new release. I also fixed all the tests, which required similar methodology as in the proto-v2 branch w.r.t. a |
I'm curious, do you have the ability to squash and merge, or should I do that for you? |
I can't merge at all, because I am not in the golang org, so you will have to do it. Thanks for the review! |
Addresses grpc/grpc-go#1287
I will send a v2 version of this change shortly.